.class Lcom/instagram/android/fragment/ea;
.super Ljava/lang/Object;
.source "MainFeedFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/dw;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/dw;)V
    .locals 0
    .parameter

    .prologue
    .line 503
    iput-object p1, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "view"

    .prologue
    .line 507
    iget-object v0, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/dw;->c(Lcom/instagram/android/fragment/dw;Z)Z

    .line 509
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v0

    .line 510
    invoke-static {}, Lcom/instagram/android/w/a;->a()Lcom/instagram/android/w/a;

    move-result-object v1

    .line 512
    iget-object v2, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    invoke-static {v2}, Lcom/instagram/android/fragment/dw;->c(Lcom/instagram/android/fragment/dw;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v0}, Lcom/facebook/a/b;->b()Z

    move-result v2

    if-nez v2, :cond_0

    if-eqz v1, :cond_1

    .line 514
    :cond_0
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->A()V

    .line 515
    new-instance v0, Lcom/instagram/e/b/a/a;

    iget-object v1, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/dw;->m()Landroid/support/v4/app/r;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v1, Lcom/instagram/android/fragment/cq;

    invoke-direct {v1}, Lcom/instagram/android/fragment/cq;-><init>()V

    invoke-virtual {v0, v1}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 528
    :goto_0
    return-void

    .line 516
    :cond_1
    iget-object v1, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/dw;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/instagram/android/w/a;->a(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 517
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->z()V

    .line 518
    iget-object v0, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    const/4 v1, 0x5

    invoke-static {v0, v1}, Lcom/instagram/android/activity/VkontakteAuthActivity;->a(Landroid/support/v4/app/Fragment;I)V

    goto :goto_0

    .line 521
    :cond_2
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/android/nux/a/a;->y()V

    .line 522
    iget-object v1, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    sget-object v2, Lcom/instagram/android/g/i;->a:[Ljava/lang/String;

    iget-object v3, p0, Lcom/instagram/android/fragment/ea;->a:Lcom/instagram/android/fragment/dw;

    invoke-static {v3}, Lcom/instagram/android/fragment/dw;->d(Lcom/instagram/android/fragment/dw;)Lcom/facebook/a/e;

    move-result-object v3

    invoke-virtual {v0, v1, v2, v3}, Lcom/facebook/a/b;->a(Landroid/support/v4/app/Fragment;[Ljava/lang/String;Lcom/facebook/a/e;)V

    goto :goto_0
.end method
